package com.gxa.meiye.admin.platform.service.impl;

import com.gxa.meiye.admin.platform.mapper.FinancemanageMapper;
import com.gxa.meiye.admin.platform.pojo.vo.FinanceManageVo;
import com.gxa.meiye.admin.platform.pojo.vo.OrderManageVo;
import com.gxa.meiye.admin.platform.service.FinanceManageServcie;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class FinanceManageServcieImpl implements FinanceManageServcie {
    @Resource
    private FinancemanageMapper financemanageMapper;

    @Override
    public List<FinanceManageVo> queryAll() {
        List<FinanceManageVo> financeManageVos = this.financemanageMapper.queryAll();
        return financeManageVos;
    }

    @Override
    public List<FinanceManageVo> selectAll(Integer status, String begintime, String endtime, String tempall) {
        List<FinanceManageVo> financeManageVos = this.financemanageMapper.selectAll(status, begintime, endtime, tempall);
        return financeManageVos;
    }

    @Override
    public List<FinanceManageVo> selectAll0(Integer status, String begintime, String endtime, String tempall) {
        List<FinanceManageVo> financeManageVos = this.financemanageMapper.selectAll0(status, begintime, endtime, tempall);
        return financeManageVos;
    }

    @Override
    public void updateStatus(Integer status, String order_num) {
        this.financemanageMapper.updateStatus(status,order_num);
    }
}
